package com.dfbz.demo;

/**
 * @author lscl
 * @version 1.0
 * @intro:
 */
public class Demo07_字符串常量池_02 {

    public static void main(String[] args) {
        int i = 1;

        String s1 = "10" + i;
        String s2 = "10" + i;

        System.out.println(s1 == s2);


        /*String s1 ="abc";
        System.out.println(s1);         // abc

        s1 ="cba";
        System.out.println(s1);         // cba*/

    }
}
